package com.okaixz.client.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * ai应用信息表
 * </p>
 *
 * @author cdz
 * @since 2025-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("kb_assistant")
@ApiModel(value="KbAssistant对象", description="ai应用信息表")
public class KbAssistant implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "使用次数")
    private Integer useCount;
    @ApiModelProperty(value = "排序号 越大越靠前")
    private Integer orderNum;

    @ApiModelProperty(value = "状态 0禁用 1启用")
    private Integer status;

    @ApiModelProperty(value = "应用名")
    private String name;

    @ApiModelProperty(value = "应用图标")
    private String icon;

    @ApiModelProperty(value = "应用描述信息")
    private String descMsg;

    @ApiModelProperty(value = "输出风格")
    private String outStyle;

    @ApiModelProperty(value = "男头像")
    private String girlHead;
    @ApiModelProperty(value = "女头像")
    private String boyHead;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifyTime;

    private Integer tabId;
    private Integer sex;//1男2女0无性别

    @ApiModelProperty(value = "应用类型0手动写入需求 1讯飞智能体 2千问智能体应用")
    private Boolean type;
    @ApiModelProperty(value = "是否是默认标签")
    private Integer isDefault;

    @ApiModelProperty(value = "讯飞智能体绑定的appId")
    private String xfAppid;

    @ApiModelProperty(value = "千问appid")
    private String qwenAppid;

    private String ask;

    private String ans;


}
